Technical Q&A HW23
Testing PCI drivers without any device


Q: Can I test my PCI driver without any device?

A: Yes. There is a way to test your driver code that doesn't directly read or write to your device. Make your driver a virtual driver instead of a real driver. A virtual driver is one that has no hardware associated with it, such as a RAM disk. Add your driver to the Name Registry in the Devices section. Use whatever properties you think will assist in your testing. Load your driver using the DLL and pass NIL as the RegEntryIDPtr.

[Jul 15 1995]


Developer Documentation | Technical Notes | Development Kits | Sample Code